<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>留言测试</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .box1 {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            width: 300px;
        }
        .box1 input[type="number"],
        .box1 input[type="text"],
        .box1 input[type="email"],
        .box1 textarea {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }
        .box1 input[type="reset"],
        .box1 input[type="submit"] {
            width: 100%;
            padding: 10px;
            background-color: #007BFF;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        .box1 input[type="reset"]:hover,
        .box1 input[type="submit"]:hover {
            background-color: #0056b3;
        }
        textarea {
            resize: none;
            height: 180px;
        }
        h1{
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="box1">
        <h1>留言表单提交测试</h1>
        <form action="insert.php" method="post">
            <input type="number" name="id" placeholder="请输入id号码" required />
            <input type="text" name="name" placeholder="请输入名字" required />
            <input type="email" name="email" placeholder="请输入邮箱" required />
            <input type="text" name="tell" placeholder="请输入电话号码" required />
            <textarea name="content" placeholder="请输入留言内容" required></textarea>
            <input type="reset" value="重置" style="margin-bottom: 10px;"/>
            <input type="submit" value="提交" />
        </form>
    </div>
</body>
</html>